var BASE_URL = getApp().globalData.API_Base_URL;
var Gwang_URL = getApp().globalData.Gwang_URL
var HB_URL = getApp().globalData.HB_URL
var ALIYUNOSS_URL = "http://mpcard.oss-cn-shenzhen.aliyuncs.com";
var URL_CONFIG = [
  // 即时通讯
  { "key": "user.uploadimage", "url": BASE_URL + "/uri/chat/uploadimage" },//门店详情
  // 即时通讯end
  /**
   * 红包
   */
  { "key": "user.setsysconfig", "url": BASE_URL + "/api/sysconfig/save" },//设置小程序配置信息 
  { "key": "user.sysconfig", "url": BASE_URL + "/api/sysconfig/index" },//获取小程序配置信息 
  { "key": "user.Mdetail", "url": BASE_URL + "/uri/store/detail" },//门店详情
  { "key": "user.getNearStores", "url": BASE_URL + "/uri/store/getNearStores" },//获取附近门店
  { "key": "hb.getRedPacketDetailList", "url": HB_URL + "/api/redpacket/getRedPacketDetailList" },//红包详情列表
  { "key": "hb.redPacketGet", "url": HB_URL + "/api/redpacket/redPacketGet" },//领取红包
  { "key": "hb.redPacketDetailGet", "url": HB_URL + "/api/redpacket/redPacketDetailGet" },//红包详情
  { "key": "hb.redPacketDistanceList", "url": HB_URL + "/api/redpacket/redPacketDistanceList"},//地图红包列表
  // 小官网
  { "key": "website.cancelRelated", "url": Gwang_URL + "/website/cancelRelated" },//取消关联 
  { "key": "website.relatedweb", "url": Gwang_URL + "/website/relatedweb" },//关联官网 
  { "key": "website.getToken", "url": Gwang_URL + "/user/getToken" },//获取官网需要的token 
  { "key": "website.getMobileNumber", "url": Gwang_URL + "/user/getMobileNumber" },//获取微信手机号码 
  { "key": "website.websites", "url": Gwang_URL + "/website/websiteList" },//获取官网列表 
  { "key": "website.createWebsite", "url": Gwang_URL + "/website/createWebsite" },//创建官网  
  { "key": "website.uploadLogo", "url": Gwang_URL + "/website/uploadLogo" },//上传公司logo 
  { "key": "website.getUserWebsites", "url": Gwang_URL + "/website/getUserWebsites" },//获取用户创建的官网 
  { "key": "website.searchBy", "url": Gwang_URL + "/website/searchBy" },//模糊搜索公司全名 
  { "key": "website.delWebsite", "url": Gwang_URL + "/website/delWebsite" },//删除官网  
  { "key": "website.website", "url": Gwang_URL + "/website/website" },//官网管理页
  { "key": "website.saveWebsite", "url": Gwang_URL + "/website/saveWebsite" },//编辑保存官网信息
  { "key": "website.starWebsite", "url": Gwang_URL + "/website/starWebsite" },//标星
  { "key": "website.delAccessWebsite", "url": Gwang_URL + "/website/delAccessWebsite" },//首页删除
  { "key": "website.publish", "url": Gwang_URL + "/website/publish" },//官网上线
  { "key": "website.follow", "url": Gwang_URL + "/follow/follow" },//关注／取消关注
  { "key": "website.uploadImg", "url": Gwang_URL + "/pagecontent/uploadImg" },//上传图片
  { "key": "website.uploadVideo", "url": Gwang_URL + "/pagecontent/uploadVideo" },//上传视频
  { "key": "website.getPageContent", "url": Gwang_URL + "/pagecontent/getPageContent" },//页面内容 
  { "key": "website.saveContent", "url": Gwang_URL + "/pagecontent/saveContent" },//保存页面内容
  // 小官网end
  
  { "key": "user.getOtherUserMpInfo", "url": BASE_URL + "/api/user/getOtherUserMpInfo" },//获取他人信息
  { "key": "user.getHb", "url": BASE_URL + "/api/material/getHb" },//房间海报
  { "key": "user.searchRoom", "url": BASE_URL + "/uri/material/searchRoom" },//搜索房间
  { "key": "user.exitRoom", "url": BASE_URL + "/uri/material/exitRoom" },//退出房间
  { "key": "user.joinRoom", "url": BASE_URL + "/uri/material/joinRoom" },//加入房间
  { "key": "user.materialUploadlogo", "url": BASE_URL + "/uri/material/uploadlogo" },// 上传创建房间头像
  { "key": "user.delcontent", "url": BASE_URL + "/uri/material/delcontent" },//删除素材
  { "key": "user.doAudit", "url": BASE_URL + "/uri/material/doAudit" },//审核是否通过
  { "key": "user.waitAuditContent", "url": BASE_URL + "/uri/material/waitAuditContent" }, // 素材审核列表
  { "key": "user.addMaterial", "url": BASE_URL + "/uri/material/addMaterial" }, // 上传素材图片
  { "key": "user.uploadsss", "url": BASE_URL + "/uri/material/upload" }, // 上传素材图片
  { "key": "user.setDefaultRoom", "url": BASE_URL + "/uri/material/setDefaultRoom" }, // 设置主房间
  { "key": "user.roomMembers", "url": BASE_URL + "/uri/material/roomMembers" }, // 房间成员列表
  { "key": "user.roomContent", "url": BASE_URL + "/uri/material/roomContent" }, // 房间素材列表
  { "key": "user.roomInfo", "url": BASE_URL + "/uri/material/roomInfo" }, // 获取房间信息
  { "key": "user.getRoomsByClassId", "url": BASE_URL + "/uri/material/getRoomsByClassId" }, // 获取分类下的房间列表
  { "key": "user.TopicLove", "url": BASE_URL + "/api/topic/love" },//wrq点赞
  { "key": "user.geDemandList", "url": BASE_URL + "/api/topic/allTopicList" },//wrq列表
  { "key": "user.getMyJoinRooms", "url": BASE_URL + "/uri/material/getMyJoinRooms" }, // 我加入的房间列表
  { "key": "user.getMyRoom", "url": BASE_URL + "/uri/material/getMyRoom" }, // 获取我的房间
  { "key": "user.roomTypes", "url": BASE_URL + "/uri/material/roomTypes" }, // 获取房间分类
  { "key": "user.getUserTags", "url": BASE_URL + "/uri/tags/getUserTags" }, // 所有的公共标签
  { "key": "user.getAllTypes", "url": BASE_URL + "/uri/tags/getAllTypes" }, // 所有的公共标签
  { "key": "user.PaperCardList", "url": BASE_URL + "/uri/card/PaperCardList" }, //纸质名片列表
  { "key": "user.PaperCardEdit", "url": BASE_URL + "/uri/card/PaperCardEdit" }, //编辑纸质名片
  { "key": "user.uploadPaperCard", "url": BASE_URL + "/uri/card/uploadPaperCard" }, //上传纸质名片
  { "key": "user.renmaitree", "url": BASE_URL + "/uri/myteam/renmaitree" }, //某度人脉的列表
  { "key": "user.renmaicount", "url": BASE_URL + "/uri/myteam/renmaicount" }, //六度人脉列表数量
  { "key": "user.radarout", "url": BASE_URL + "/uri/radar/out" }, //关闭雷达
  { "key": "user.getusers", "url": BASE_URL + "/uri/radar/getusers" }, //雷达监听
  { "key": "user.join", "url": BASE_URL + "/uri/radar/join" }, //进入雷达范围
  { "key": "user.readmore", "url": BASE_URL + "/uri/radar/readmore" }, //雷达用户列表查看更多
  { "key": "user.userlist", "url": BASE_URL + "/uri/radar/userlist" }, //雷达用户列表
  { "key": "user.saveUserArea", "url": BASE_URL + "/uri/user_area/saveUserArea" }, //保存城市
  { "key": "user.earUser", "url": BASE_URL + "/uri/near/nearUser" }, //获取省市
  { "key": "user.getAreas", "url": BASE_URL + "/uri/user_area/getAreas" }, //获取省市
  { "key": "user.clientPay", "url": BASE_URL + "/uri/member/clientPay" }, //绑定手机号
  { "key": "user.bindPhone", "url": BASE_URL + "/uri/user/bindPhone" }, //绑定手机号
  { "key": "user.unbindPhone", "url": BASE_URL + "/uri/user/unbindPhone" }, //解绑手机号
  { "key": "user.sendCode", "url": BASE_URL + "/uri/user/sendCode" }, //获取验证码
  { "key": "user.deleteReply", "url": BASE_URL + "/api/topic/deleteReply" }, //获取点赞个数
  { "key": "user.newLoveCount", "url": BASE_URL + "/uri/topic/newLoveCount" }, //获取点赞个数
  { "key": "user.wanrenquanDelete", "url": BASE_URL + "/api/topic/delete" },//删除单个话题详情
  { "key": "user.getTypeList2", "url": BASE_URL + "/uri/Type2/getType" }, //获取发布广场分类
  { "key": "user.getUserInfo", "url": BASE_URL + "/uri/user/getUserInfo" },//获取用户基本资料
  { "key": "user.saveUserInfo", "url": BASE_URL + "/uri/user/saveUserInfo" },//保存用户基本资料
  { "key": "user.getOtherUserInfo", "url": BASE_URL + "/uri/user/getOtherUserInfo" },//保存其他用户基本资料
  { "key": "user.getUserImage", "url": BASE_URL + "/uri/user/getUserImage" },//获取用户图片
  { "key": "user.getFindUser", "url": BASE_URL + "/uri/card/find" },//获取找合作一个用户
  { "key": "user.getParent", "url": BASE_URL + "/uri/user/getParent" },//获取用户上级
  { "key": "user.getSonNums", "url": BASE_URL + "/uri/daili/getXiaJiNumber" },//获取用户下级数
  { "key": "user.getUserCode", "url": BASE_URL + "/uri/user/getUserCode" },//获取用户专属码
  { "key": "user.getUserHB", "url": BASE_URL + "/uri/user/getUserHB" },//获取用户海报
  { "key": "user.deleteImage", "url": BASE_URL + "/uri/user/deleteImage" },//用户删除图片
  { "key": "user.setFromId", "url": BASE_URL + "/uri/form/setFormId" },//保存用户的formid
  { "key": "user.getShowTime", "url": BASE_URL + "/uri/user/getTime" },//获取用户展示时间
  { "key": "user.getMobileNumber", "url": BASE_URL + "/uri/user/getMobileNumber" },//获取用户手机号码
  { "key": "user.getOpenIdById", "url": BASE_URL + "/uri/user/getOpenIdById" },//通过id获取openid
  { "key": "user.getTeamHB", "url": BASE_URL + "/uri/team/getTeamHB" },//获取战队海报

  { "key": "user.setAutoUpgradeDaShi", "url": BASE_URL + "/uri/daili/upgradeDashi" },//用户被动升级为大使
  { "key": "user.getHelpUpgradeDaShi", "url": BASE_URL + "/uri/daili/openDaiLi2" },//升级用户为大使
  { "key": "user.getVipPayment", "url": BASE_URL + "/uri/vip/clientPay" },//会员支付
  { "key": "user.getDaiLiParment", "url": BASE_URL + "/uri/daili/clientPay" },//代理支付

  { "key": "user.getSeeViewList", "url": BASE_URL + "/uri/view/seeViewList" },//获取用户人气列表
  { "key": "user.getSeeLoveList", "url": BASE_URL + "/uri/love/seeLoveList" },//获取用户点赞列表 
  { "key": "user.getSeeCollectList", "url": BASE_URL + "/uri/collect/seeCollectList" },//获取用户收藏列表
  { "key": "user.getCollectList", "url": BASE_URL + "/uri/card/myList" },//获取用户名片夹列表
  { "key": "user.getFindList", "url": BASE_URL + "/uri/find/getFind" },//获取找合作列表
  { "key": "user.getSonList", "url": BASE_URL + "/uri/son/getSonList" },//获取用户下级列表
  { "key": "user.getSonSonList", "url": BASE_URL + "/uri/son/getSonSonList" },//获取用户下下级列表

  { "key": "user.setUserLoveAdd", "url": BASE_URL + "/uri/love/add" },//用户点赞
  { "key": "user.setUserLoveDrop", "url": BASE_URL + "/uri/love/drop" },//用户取消点赞
  { "key": "user.setUserCollectAdd", "url": BASE_URL + "/uri/collect/add" },//用户收藏
  { "key": "user.setUserCollectDrop", "url": BASE_URL + "/uri/collect/drop" },//用户取消收藏
  { "key": "user.setUserShowCard", "url": BASE_URL + "/uri/card/show" },//用户展示名片
  { "key": "user.setUserHideCard", "url": BASE_URL + "/uri/card/hide" },//用户隐藏名片、
  { "key": "user.setUserRedeem", "url": BASE_URL + "/uri/redeem/vaildateRedeem" },//用户兑换码

  { "key": "user.getDaiLiMoney", "url": BASE_URL + "/uri/Withdraw/getDaiLiMoney" },//获取代理余额
  { "key": "user.setUserShareTime", "url": BASE_URL + "/uri/user/setUserShareTime" },//设置用戶分享时间


  { "key": "user.getIsAuditing", "url": BASE_URL + "/uri/Auditing/isAuditing" },//判断版本是否在审核状态
  { "key": "user.sendReport", "url": BASE_URL + "/uri/Report/report" },//举报用户

  { "key": "user.getSeeAdv", "url": BASE_URL + "/uri/ad/searchviewlist" },//获取查看广告记录
  { "key": "user.getAdvList", "url": BASE_URL + "/uri/ad/searchlist" },//获取广告列表
  { "key": "user.addSeeAdv", "url": BASE_URL + "/uri/ad/addSeeAdv" },//添加广告记录
  { "key": "user.getMyDemandList", "url": BASE_URL + "/api/topic/myTopicList" },//获取我发布的万人圈列表数据
  { "key": "user.getZiYuanFaBuPingTai", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_kefu.jpg" },//获取资源发布平台
  { "key": "user.getQun", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_qun.jpg" },//获取群
  { "key": "user.getTeamBigPng1", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_zhan_dui1_b.png" },//获取战队大图1
  { "key": "user.getTeamBigPng2", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_zhan_dui2_b.png" },//获取战队大图2
  { "key": "user.getTeamBigPng3", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_zhan_dui3_b.png" },//获取战队大图3
  { "key": "user.getTeamBannerPng1", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_zhan_dui1.png" },//获取战队banner1
  { "key": "user.getTeamBannerPng2", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_zhan_dui2.png" },//获取战队banner2
  { "key": "user.getTeamBannerPng3", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_zhan_dui3.png" },//获取战队banner3
  { "key": "user.getKeFu1", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_kefu1.jpg" },//获取客服1
  { "key": "user.getKeFu2", "url": ALIYUNOSS_URL + "/appid_wxe592c5363f61d092_kefu2.jpg" },//获取客服2
  { "key": "user.sendKeFuMessage", "url": BASE_URL + "/uri/Wxservice/sendFocus" },//发送客服消息
  { "key": "user.changeMobileVisible", "url": BASE_URL + "/uri/user/changeMobileVisible" },//隐藏或显示用户手机号
  { "key": "user.getUserCodeList", "url": BASE_URL + "/api/user/getUserCodeList" },//获取用户专属码列表
  { "key": "user.setWanrenquan", "url": BASE_URL + "/api/topic_pay/topicWxPay" },//发布万人圈
  { "key": "user.getTopicDetail", "url": BASE_URL + "/api/topic/topicDetail" },//获取单个话题详情
  { "key": "user.newReplyCount", "url": BASE_URL + "/uri/topic/newReplyCount" },//用户收到的新回复个数 
  { "key": "user.topicReplys", "url": BASE_URL + "/api/topic/topicReplys" },//单个话题回复列表分页 
  { "key": "user.TopicReply", "url": BASE_URL + "/api/topic/reply" },//回复万人圈话题
  { "key": "user.loveList", "url": BASE_URL + "/uri/topic/loveList" },
  { "key": "user.getOpenid", "url": BASE_URL + "/api/user/getOpenid" },//获取用户openid
  { "key": "user.loginByWechat", "url": BASE_URL + "/api/user/loginByWechat" },// 微信登录接口
  { "key": "user.getUserProfile", "url": BASE_URL + "/api/user/getUserProfile" },// 个人中心
  { "key": "user.getUserMpInfo", "url": BASE_URL + "/api/user/getUserMpInfo" },// 获取自己的信息
];
module.exports = {
  URL_CONFIG: URL_CONFIG,
}

